<?php

namespace app\data\model;

use app\data\model\BaseModel;

class FeedBackModel extends BaseModel
{
    protected $table = 'ctmon_feedback';

    protected $schema = array(
        'msg_id' => 'int',
        'parent_id' => 'int',
        'user_id' => 'int',
        'msg_title' => 'varchar',
        'user_reason' => 'varchar',
        'user_company' => 'varchar',
        'user_department' => 'varchar',
        'user_name' => 'varchar',
        'user_number' => 'varchar',
        'user_city' => 'varchar',
        'user_address' => 'varchar',
        'user_tel' => 'varchar',
        'user_tel2' => 'varchar',
        'user_tel3' => 'varchar',
        'user_tel4' => 'varchar',
        'user_email' => 'varchar',
        'msg_content' => 'text',
        'msg_type' => 'int',
        'msg_time' => 'timestamp',
        'msg_file' => 'varchar',
        'order_id' => 'int',
        'is_show' => 'bit',
        'url' => 'varchar',
        'user_country' => 'varchar',
        'ip' => 'varchar',
        'delete_time' => 'int',
        'create_time' => 'int',
        'update_time' => 'int',
        'ver' => 'bigint',
        'read_status' => 'tinyint',
    );

    protected $type = [
        "is_show" => 'int',
    ];
}